package com.example.listview.ListView;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ListView;

import androidx.annotation.Nullable;

import com.example.listview.R;

public class ListActivity extends Activity {
    private ListView mlv;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_listview);
        mlv = (ListView)findViewById(R.id.lv_l);
        mlv.setAdapter(new mylistAdaptor(ListActivity.this));
    }
}
